<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Icarous: /home/research133/Software/Icarous2/cFS/apps/gsInterface/fsw/src/gsInterface.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Icarous
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_c1698e121239b1aba7f6e782e4514e49.html">cFS</a></li><li class="navelem"><a class="el" href="dir_7ee4ce95da95d11e80a01c5101ed8d14.html">apps</a></li><li class="navelem"><a class="el" href="dir_4f7169b1cfef2f97ead2fdcdc45a8ff6.html">gsInterface</a></li><li class="navelem"><a class="el" href="dir_de8d13f1c15d4b36f3dccca0f614affb.html">fsw</a></li><li class="navelem"><a class="el" href="dir_7e5d64242e56781013ebab3cd45a6d09.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">gsInterface.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>function declarations, definitions of macros, datastructures and global variables for the ground station interface application  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;cfe.h&quot;</code><br />
<code>#include &quot;cfe_error.h&quot;</code><br />
<code>#include &quot;cfe_evs.h&quot;</code><br />
<code>#include &quot;cfe_sb.h&quot;</code><br />
<code>#include &quot;cfe_es.h&quot;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &lt;errno.h&gt;</code><br />
<code>#include &lt;unistd.h&gt;</code><br />
<code>#include &lt;network_includes.h&gt;</code><br />
<code>#include &lt;<a class="el" href="ardupilot__msg_8h_source.html">msgdef/ardupilot_msg.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="ardupilot__msgids_8h_source.html">msgids/ardupilot_msgids.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="scheduler__msgids_8h_source.html">msgids/scheduler_msgids.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="traffic__msg_8h_source.html">msgdef/traffic_msg.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="traffic__msgids_8h_source.html">msgids/traffic_msgids.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="tracking__msg_8h_source.html">msgdef/tracking_msg.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="tracking__msgids_8h_source.html">msgids/tracking_msgids.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="trajectory__msg_8h_source.html">msgdef/trajectory_msg.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="trajectory__msgids_8h_source.html">msgids/trajectory_msgids.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="geofence__msg_8h_source.html">msgdef/geofence_msg.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="geofence__msgids_8h_source.html">msgids/geofence_msgids.h</a>&gt;</code><br />
<code>#include &quot;<a class="el" href="ardupilotmega_2mavlink_8h_source.html">mavlink/ardupilotmega/mavlink.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="port__lib_8h_source.html">port_lib.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for gsInterface.h:</div>
<div class="dyncontent">
<div class="center"><img src="gsInterface_8h__incl.png" border="0" usemap="#_2home_2research133_2Software_2Icarous2_2cFS_2apps_2gsInterface_2fsw_2src_2gsInterface_8h" alt=""/></div>
<map name="_2home_2research133_2Software_2Icarous2_2cFS_2apps_2gsInterface_2fsw_2src_2gsInterface_8h" id="_2home_2research133_2Software_2Icarous2_2cFS_2apps_2gsInterface_2fsw_2src_2gsInterface_8h">
<area shape="rect" id="node11" href="ardupilot__msg_8h.html" title="Ardupilot message definitions. " alt="" coords="672,109,833,136"/>
<area shape="rect" id="node14" href="ardupilot__msgids_8h.html" title="Message ID definition of ardupilot app messages. " alt="" coords="1733,109,1911,136"/>
<area shape="rect" id="node15" href="scheduler__msgids_8h.html" title="message topics published by the scheduler " alt="" coords="1935,109,2119,136"/>
<area shape="rect" id="node16" href="traffic__msg_8h.html" title="Traffic message definition. " alt="" coords="857,109,1003,136"/>
<area shape="rect" id="node17" href="traffic__msgids_8h.html" title="Traffic message id definitions. " alt="" coords="2144,109,2305,136"/>
<area shape="rect" id="node18" href="tracking__msg_8h.html" title="message definitions for tracking application " alt="" coords="437,109,596,136"/>
<area shape="rect" id="node19" href="tracking__msgids_8h.html" title="message topic definitions of tracking applicaton " alt="" coords="2329,109,2504,136"/>
<area shape="rect" id="node20" href="trajectory__msg_8h.html" title="definition of messages generated by the trajectory messages " alt="" coords="5,109,172,136"/>
<area shape="rect" id="node21" href="trajectory__msgids_8h.html" title="definition of message ids relevant to the trajectory applicaiton " alt="" coords="2528,109,2711,136"/>
<area shape="rect" id="node22" href="geofence__msg_8h.html" title="Defintion of messages used by geofence_msg.h. " alt="" coords="197,109,362,136"/>
<area shape="rect" id="node23" href="geofence__msgids_8h.html" title="Defines message topics published by the geofence application. " alt="" coords="2735,109,2917,136"/>
<area shape="rect" id="node24" href="ardupilotmega_2mavlink_8h.html" title="MAVLink comm protocol built from ardupilotmega.xml. " alt="" coords="962,184,1114,225"/>
<area shape="rect" id="node48" href="port__lib_8h.html" title="serial/socket port library " alt="" coords="1129,109,1203,136"/>
<area shape="rect" id="node25" href="ardupilotmega_2version_8h.html" title="MAVLink comm protocol built from ardupilotmega.xml. " alt="" coords="2381,273,2455,300"/>
<area shape="rect" id="node26" href="ardupilotmega_8h.html" title="MAVLink comm protocol generated from ardupilotmega.xml. " alt="" coords="2242,273,2357,300"/>
<area shape="rect" id="node27" href="protocol_8h_source.html" title="../protocol.h" alt="" coords="2950,355,3041,382"/>
<area shape="rect" id="node28" href="mavlink__msg__sensor__offsets_8h_source.html" title="./mavlink_msg_sensor\l_offsets.h" alt="" coords="3065,348,3219,389"/>
<area shape="rect" id="node29" href="mavlink__msg__set__mag__offsets_8h_source.html" title="./mavlink_msg_set_mag\l_offsets.h" alt="" coords="3243,348,3407,389"/>
<area shape="rect" id="node30" href="mavlink__msg__meminfo_8h_source.html" title="./mavlink_msg_meminfo.h" alt="" coords="3431,355,3605,382"/>
<area shape="rect" id="node31" href="mavlink__msg__ap__adc_8h_source.html" title="./mavlink_msg_ap_adc.h" alt="" coords="3629,355,3796,382"/>
<area shape="rect" id="node32" href="mavlink__msg__digicam__configure_8h_source.html" title="./mavlink_msg_digicam\l_configure.h" alt="" coords="3820,348,3979,389"/>
<area shape="rect" id="node33" href="mavlink__msg__digicam__control_8h_source.html" title="./mavlink_msg_digicam\l_control.h" alt="" coords="4003,348,4161,389"/>
<area shape="rect" id="node34" href="mavlink__msg__mount__configure_8h_source.html" title="./mavlink_msg_mount\l_configure.h" alt="" coords="4185,348,4336,389"/>
<area shape="rect" id="node35" href="mavlink__msg__mount__control_8h_source.html" title="./mavlink_msg_mount\l_control.h" alt="" coords="609,348,760,389"/>
<area shape="rect" id="node36" href="mavlink__msg__mount__status_8h_source.html" title="./mavlink_msg_mount\l_status.h" alt="" coords="784,348,935,389"/>
<area shape="rect" id="node37" href="mavlink__msg__fence__point_8h_source.html" title="./mavlink_msg_fence\l_point.h" alt="" coords="959,348,1106,389"/>
<area shape="rect" id="node38" href="mavlink__msg__fence__fetch__point_8h_source.html" title="./mavlink_msg_fence\l_fetch_point.h" alt="" coords="1130,348,1277,389"/>
<area shape="rect" id="node39" href="mavlink__msg__fence__status_8h_source.html" title="./mavlink_msg_fence\l_status.h" alt="" coords="1301,348,1447,389"/>
<area shape="rect" id="node40" href="mavlink__msg__ahrs_8h_source.html" title="./mavlink_msg_ahrs.h" alt="" coords="1472,355,1623,382"/>
<area shape="rect" id="node41" href="mavlink__msg__simstate_8h_source.html" title="./mavlink_msg_simstate.h" alt="" coords="1647,355,1821,382"/>
<area shape="rect" id="node42" href="mavlink__msg__hwstatus_8h_source.html" title="./mavlink_msg_hwstatus.h" alt="" coords="1846,355,2025,382"/>
<area shape="rect" id="node43" href="mavlink__msg__radio_8h_source.html" title="./mavlink_msg_radio.h" alt="" coords="2049,355,2203,382"/>
<area shape="rect" id="node44" href="mavlink__msg__limits__status_8h_source.html" title="./mavlink_msg_limits\l_status.h" alt="" coords="2227,348,2372,389"/>
<area shape="rect" id="node45" href="mavlink__msg__wind_8h_source.html" title="./mavlink_msg_wind.h" alt="" coords="2397,355,2549,382"/>
<area shape="rect" id="node46" href="mavlink__msg__data16_8h_source.html" title="./mavlink_msg_data16.h" alt="" coords="2573,355,2737,382"/>
<area shape="rect" id="node47" href="mavlink__msg__data32_8h_source.html" title="./mavlink_msg_data32.h" alt="" coords="2761,355,2925,382"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="gsInterface_8h__dep__incl.png" border="0" usemap="#_2home_2research133_2Software_2Icarous2_2cFS_2apps_2gsInterface_2fsw_2src_2gsInterface_8hdep" alt=""/></div>
<map name="_2home_2research133_2Software_2Icarous2_2cFS_2apps_2gsInterface_2fsw_2src_2gsInterface_8hdep" id="_2home_2research133_2Software_2Icarous2_2cFS_2apps_2gsInterface_2fsw_2src_2gsInterface_8hdep">
<area shape="rect" id="node2" href="gsInterface__table_8h_source.html" title="/home/research133/Software\l/Icarous2/cFS/apps/gsInterface\l/fsw/src/gsInterface_table.h" alt="" coords="5,109,211,165"/>
</map>
</div>
</div>
<p><a href="gsInterface_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structappdataIntGS__t.html">appdataIntGS_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:af7b7dc9a200cb1404c280bd500fd1551"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af7b7dc9a200cb1404c280bd500fd1551"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gsInterface_8h.html#af7b7dc9a200cb1404c280bd500fd1551">BUFFER_LENGTH</a>&#160;&#160;&#160;1000</td></tr>
<tr class="memdesc:af7b7dc9a200cb1404c280bd500fd1551"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mavlink message receive buffer size. <br /></td></tr>
<tr class="separator:af7b7dc9a200cb1404c280bd500fd1551"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9dc8d6488165f6f4911d43a4e45542c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad9dc8d6488165f6f4911d43a4e45542c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GSINTERFACE_PIPE_NAME</b>&#160;&#160;&#160;&quot;GSINTF_PIPE&quot;</td></tr>
<tr class="separator:ad9dc8d6488165f6f4911d43a4e45542c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19d56c141e9bf37dcadd20d760ba803d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a19d56c141e9bf37dcadd20d760ba803d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GSINTERFACE_PIPE_DEPTH</b>&#160;&#160;&#160;100</td></tr>
<tr class="separator:a19d56c141e9bf37dcadd20d760ba803d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a181748114f9d9eb99dfcba1977c42310"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a181748114f9d9eb99dfcba1977c42310"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SCH_GSINTERFACE_PIPE1_NAME</b>&#160;&#160;&#160;&quot;SCH_GSINTERFACE&quot;</td></tr>
<tr class="separator:a181748114f9d9eb99dfcba1977c42310"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fc2c43446ec463cb87f528005dc312a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3fc2c43446ec463cb87f528005dc312a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gsInterface_8h.html#a3fc2c43446ec463cb87f528005dc312a">PARAM_COUNT</a>&#160;&#160;&#160;77</td></tr>
<tr class="memdesc:a3fc2c43446ec463cb87f528005dc312a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Total number of ICAROUS parameters. <br /></td></tr>
<tr class="separator:a3fc2c43446ec463cb87f528005dc312a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c892616d69b40a008d09421cd9a3055"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c892616d69b40a008d09421cd9a3055"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SendGSMsg</b>(arg)&#160;&#160;&#160;<a class="el" href="port__lib_8h.html#afb6fc10453a780fd7a17b91468316ddc">writeMavlinkData</a>(&amp;appdataIntGS.gs,&amp;arg)</td></tr>
<tr class="separator:a1c892616d69b40a008d09421cd9a3055"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade2172e77e064f581d7c760537fd0442"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>NextParam</b></td></tr>
<tr class="separator:ade2172e77e064f581d7c760537fd0442"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80de44716a43f2cd38a4b9a79ceb1766"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>AddParamId</b>(arg)</td></tr>
<tr class="separator:a80de44716a43f2cd38a4b9a79ceb1766"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ad495247c47717c7f85a0ff08866bb417"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gsInterface_8h.html#ad495247c47717c7f85a0ff08866bb417">gsInterface_AppMain</a> (void)</td></tr>
<tr class="separator:ad495247c47717c7f85a0ff08866bb417"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6bcc28207b0fbb44c5661fa144018d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gsInterface_8h.html#ac6bcc28207b0fbb44c5661fa144018d9">gsInterface_AppInit</a> (void)</td></tr>
<tr class="separator:ac6bcc28207b0fbb44c5661fa144018d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f9121d9e5eb614a26e9b979205551ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gsInterface_8h.html#a4f9121d9e5eb614a26e9b979205551ab">gsInterface_AppCleanUp</a> (void)</td></tr>
<tr class="separator:a4f9121d9e5eb614a26e9b979205551ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57d79e3762527fd3fe3b19f23969e525"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gsInterface_8h.html#a57d79e3762527fd3fe3b19f23969e525">GetMAVLinkMsgFromGS</a> (void)</td></tr>
<tr class="separator:a57d79e3762527fd3fe3b19f23969e525"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af52d9ce6e6df928b76c0217f9e8f3156"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gsInterface_8h.html#af52d9ce6e6df928b76c0217f9e8f3156">ProcessGSMessage</a> (mavlink_message_t message)</td></tr>
<tr class="separator:af52d9ce6e6df928b76c0217f9e8f3156"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68c1c68c420875acc713a04894a9e8fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gsInterface_8h.html#a68c1c68c420875acc713a04894a9e8fc">gsInterface_ProcessPacket</a> (void)</td></tr>
<tr class="separator:a68c1c68c420875acc713a04894a9e8fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14bcf58f75ec32d77e39fbfd658362a4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gsInterface_8h.html#a14bcf58f75ec32d77e39fbfd658362a4">gsSendHeartbeat</a> ()</td></tr>
<tr class="separator:a14bcf58f75ec32d77e39fbfd658362a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92a3a9e464122400dddd3a14184330f3"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gsInterface_8h.html#a92a3a9e464122400dddd3a14184330f3">gsInterfaceTableValidationFunc</a> (void *TblPtr)</td></tr>
<tr class="separator:a92a3a9e464122400dddd3a14184330f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6fde96244577635206612a7e7702633"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gsInterface_8h.html#ac6fde96244577635206612a7e7702633">gsInterface_InitializeParamIds</a> ()</td></tr>
<tr class="separator:ac6fde96244577635206612a7e7702633"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47e4d8314452a2a173037ee0b0dd2c7b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gsInterface_8h.html#a47e4d8314452a2a173037ee0b0dd2c7b">gsInterface_PublishParams</a> ()</td></tr>
<tr class="separator:a47e4d8314452a2a173037ee0b0dd2c7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ace405b2a1712ea31042ebc772eb5b0e7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ace405b2a1712ea31042ebc772eb5b0e7"></a>
<a class="el" href="structappdataIntGS__t.html">appdataIntGS_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>appdataIntGS</b></td></tr>
<tr class="separator:ace405b2a1712ea31042ebc772eb5b0e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>function declarations, definitions of macros, datastructures and global variables for the ground station interface application </p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a80de44716a43f2cd38a4b9a79ceb1766"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AddParamId</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">arg</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">strcpy(appdataIntGS.<a class="code" href="structappdataIntGS__t.html#ae6e856752afd0ad5751193e791f675cd">param_ids</a>[i],arg);\</div><div class="line">i++</div><div class="ttc" id="structappdataIntGS__t_html_ae6e856752afd0ad5751193e791f675cd"><div class="ttname"><a href="structappdataIntGS__t.html#ae6e856752afd0ad5751193e791f675cd">appdataIntGS_t::param_ids</a></div><div class="ttdeci">char param_ids[77][16]</div><div class="ttdoc">array of param_ids for all icarous parameters </div><div class="ttdef"><b>Definition:</b> gsInterface.h:90</div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ade2172e77e064f581d7c760537fd0442"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NextParam</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">appdataIntGS.<a class="code" href="structappdataIntGS__t.html#acc58338c283fad5521c8027ae4c10815">params</a>[i].param_value;\</div><div class="line">i++</div><div class="ttc" id="structappdataIntGS__t_html_acc58338c283fad5521c8027ae4c10815"><div class="ttname"><a href="structappdataIntGS__t.html#acc58338c283fad5521c8027ae4c10815">appdataIntGS_t::params</a></div><div class="ttdeci">mavlink_param_value_t params[77]</div><div class="ttdoc">array of locally stored parameters </div><div class="ttdef"><b>Definition:</b> gsInterface.h:89</div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a57d79e3762527fd3fe3b19f23969e525"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int GetMAVLinkMsgFromGS </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get mavlink message from ground station </p>

</div>
</div>
<a class="anchor" id="a4f9121d9e5eb614a26e9b979205551ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gsInterface_AppCleanUp </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Clean up variables </p>

</div>
</div>
<a class="anchor" id="ac6bcc28207b0fbb44c5661fa144018d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gsInterface_AppInit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Initialize app properties </p>

</div>
</div>
<a class="anchor" id="ad495247c47717c7f85a0ff08866bb417"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gsInterface_AppMain </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Entry point for app </p>

</div>
</div>
<a class="anchor" id="ac6fde96244577635206612a7e7702633"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gsInterface_InitializeParamIds </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Initialize the array of parameter ids </p>

</div>
</div>
<a class="anchor" id="a68c1c68c420875acc713a04894a9e8fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gsInterface_ProcessPacket </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Process SB messages from pipes and take action </p>

</div>
</div>
<a class="anchor" id="a47e4d8314452a2a173037ee0b0dd2c7b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gsInterface_PublishParams </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Send all locally stored params over the SB </p>

</div>
</div>
<a class="anchor" id="a92a3a9e464122400dddd3a14184330f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t gsInterfaceTableValidationFunc </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>TblPtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Validate table data </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*TblPtr</td><td>pointer to table </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a14bcf58f75ec32d77e39fbfd658362a4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gsSendHeartbeat </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Send heartbeat message </p>

</div>
</div>
<a class="anchor" id="af52d9ce6e6df928b76c0217f9e8f3156"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ProcessGSMessage </td>
          <td>(</td>
          <td class="paramtype">mavlink_message_t&#160;</td>
          <td class="paramname"><em>message</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Process mavlink message from groundstation and take action </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>mavlink message </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
